package top.infopub.model.fia;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/** 财务收款单登记(FIA_INCOME_BILL) **/
public class IncomeBill {

	/**
	 * SGUID
	 */
	private String id;

	/**
	 * 单据编号
	 */
	private String codes;

	/**
	 * 项目全局唯一编码
	 */
	private String proCode;

	/**
	 * 结算方式  1=现金，2=支票，3=网银，4=银行承兑汇票，5=商业承兑汇票，6=银行汇票，7=总部代付工程款，8=其他
	 */
	private String settlementMode;

	/**
	 * 收款类型 1=保证金回收 2=融资放款
	 */
	private String incomeType;

	/**
	 * 收款总额（元）
	 */
	private BigDecimal actIncomeAmount;

	/**
	 * 添加人
	 */
	private String addBy;

	/**
	 * 添加时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date addTime;

	/**
	 * 最后修改人
	 */
	private String uptBy;

	/**
	 * 最后修改时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date uptTime;

	/**
	 * 状态，0=待确认，1=确认收款
	 */
	private String status;

	/**
	 * 实际收款金额
	 */
	private BigDecimal actualIncomeAmt;

	/*
	*业务表名
	* */
	private String bizTableName;

	/**
	 * 业务ID
	 * */
	private String bizSguid;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getProCode() {
		return proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public String getSettlementMode() {
		return settlementMode;
	}

	public void setSettlementMode(String settlementMode) {
		this.settlementMode = settlementMode;
	}

	public String getIncomeType() {
		return incomeType;
	}

	public void setIncomeType(String incomeType) {
		this.incomeType = incomeType;
	}

	public BigDecimal getActIncomeAmount() {
		return actIncomeAmount;
	}

	public void setActIncomeAmount(BigDecimal actIncomeAmount) {
		this.actIncomeAmount = actIncomeAmount;
	}

	public String getAddBy() {
		return addBy;
	}

	public void setAddBy(String addBy) {
		this.addBy = addBy;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUptBy() {
		return uptBy;
	}

	public void setUptBy(String uptBy) {
		this.uptBy = uptBy;
	}

	public Date getUptTime() {
		return uptTime;
	}

	public void setUptTime(Date uptTime) {
		this.uptTime = uptTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigDecimal getActualIncomeAmt() {
		return actualIncomeAmt;
	}

	public void setActualIncomeAmt(BigDecimal actualIncomeAmt) {
		this.actualIncomeAmt = actualIncomeAmt;
	}

	public String getBizTableName() {
		return bizTableName;
	}

	public void setBizTableName(String bizTableName) {
		this.bizTableName = bizTableName;
	}

	public String getBizSguid() {
		return bizSguid;
	}

	public void setBizSguid(String bizSguid) {
		this.bizSguid = bizSguid;
	}
}